package com.SoftwareManage.service;

import com.SoftwareManage.entity.Cae;
import com.SoftwareManage.entity.Software;
import org.springframework.stereotype.Service;

import java.sql.Date;
import java.util.List;

@Service
public interface SoftwareService {
    List<Software> selectAll();
    List<Software> selectAlls(int page, int pageSize);
    List<Software> search(String software, String person);
    List<Software> searchs(String software, String person, int page, int pageSize);
    void update(int id, String software, String person, String ip, String tel, String remark);
    void add(String software, String person, String ip, String tel, String remark);
    void delete(int id);
    Software findById(int id);
    List<String> selectAllSoftwares();
}
